package com.sdi.persistence;

import java.util.List;

import com.sdi.model.Tema;
import com.sdi.persistence.exception.AlreadyPersistedException;
import com.sdi.persistence.exception.NotPersistedException;

public interface TemaDao {
	
	List<Tema> getTemas();
	void save(Tema t) throws AlreadyPersistedException;
	void update(Tema t) throws NotPersistedException;
	void delete(String name) throws NotPersistedException;
	Tema findByName(String name);

}
